package org.chs.ts.base.batch.vo.entity;

import lombok.Getter;
import lombok.Setter;
import org.chs.ts.base.batch.exec.entity.BatchDailyBasicTaskStepExec;

import java.util.List;

/**
 * @author wuwei
 * @date 2024/11/22
 * @apiNote
 */
@Getter
@Setter
public class BatchDailyGetTaskResp {

    private String batchSysCode;
    private String execDate;
    private String rtnCode;
    private String rtnDesc;
    private List<BatchDailyBasicTaskStepExec> taskDailyStepExecList;

    public BatchDailyGetTaskResp() {
    }

    public BatchDailyGetTaskResp(String batchSysCode, String execDate, String rtnCode, String rtnDesc) {
        this.batchSysCode = batchSysCode;
        this.execDate = execDate;
        this.rtnCode = rtnCode;
        this.rtnDesc = rtnDesc;
    }

    public BatchDailyGetTaskResp(String rtnCode, String rtnDesc) {
        this.rtnCode = rtnCode;
        this.rtnDesc = rtnDesc;
    }

    public BatchDailyGetTaskResp(List<BatchDailyBasicTaskStepExec> taskDailyStepExecList,String rtnCode,String rtnDesc){
        this(rtnCode,rtnDesc);
        this.taskDailyStepExecList = taskDailyStepExecList;
    }
}
